﻿<%@ Page CodeBehind="Operations.aspx.cs" Inherits="BwanaBank.BankOnline.WinUI.Window.Customer.Operations" MasterPageFile="Customer.Master" %>

<%@ Register assembly="DevExpress.Web.ASPxPivotGrid.v13.1, Version=13.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPivotGrid" tagprefix="dx" %>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
    
        <fieldset>
        <legend>Vos opérations</legend>

         <dx:ASPxPivotGrid ID="ASPxPivotGrid1" runat="server" ClientIDMode="AutoID" 
        DataSourceID="SqlDataSource1" EnableTheming="True" Theme="BlackGlass" 
            Width="500px">

        
        <Fields>
        <dx:PivotGridField Area="RowArea"
          FieldName="description" Caption="description" AreaIndex="0" />
        <dx:PivotGridField Area="ColumnArea" 
          FieldName="date " Caption="date" AreaIndex="0" />
        <dx:PivotGridField Area=ColumnArea 
          FieldName="type" AreaIndex="1" />
        <dx:PivotGridField Area="DataArea" 
          FieldName="amount"  Visible="True" AreaIndex="0" />
    </Fields>
    <OptionsView ShowHorizontalScrollBar="True" />
    </dx:ASPxPivotGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:BWANABANKConnectionString %>" 
        SelectCommand="SELECT * FROM [Operation]">
    </asp:SqlDataSource></fieldset>
</asp:Content>